package com.dsl.tms.enums;

public enum MessageResult {
    SECCESS(1,"成功！"),
    FAIL(2,"失败！");

    private Integer code;

    private String description;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    private MessageResult (Integer code,String description){
        this.code = code;
        this.description = description;
    }
}
